// import 'core-js';
// import 'regenerator-runtime/runtime';
// 01 Json
import data from './data.json'

console.log('JSON template：')
console.log(data)
console.log('----------------------')

// 02 commonjs

let common= require('./common.js')

console.log('commonjs template：')
console.log(common.sum(2,5))
console.log(common.mul(8,3))
console.log('----------------------')


// 03 ES6
import {content,Person} from "./es6";

let pr = new Person('张三', 20);
console.log('ES6 template：')
console.log(content)
console.log(pr.say());
console.log('----------------------')

// 04 CSS

import './css.js'

// 05 img

import './img.js'

// 06 font

import './font.js'

// 07  babel polyfill

import {p} from './polyfill'
console.log(p)

